<header class="page-header">
  <h1>Your authorized applications</h1>
</header>

<main role="main">
  <table class="table table-striped">
    <thead>
    <tr>
      <th>Application</th>
      <th>Created At</th>
      <th></th>
      <th></th>
    </tr>
    </thead>
    <tbody>
    <% @applications.each do |application| %>
      <tr>
        <td><%= application.name %></td>
        <td><%= application.created_at.strftime('%Y-%m-%d %H:%M:%S') %></td>
        <td><%= render 'delete_form', application: application %></td>
      </tr>
    <% end %>
    </tbody>
  </table>
</main>
